package com.fg.cloud.factory.controller.product;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.fg.cloud.framework.controller.BaseController;
import com.fg.cloud.manager.service.product.ProductSkuImgService;

@Controller
@RequestMapping(value="/skuimg")
public class ProductSkuImgController extends BaseController{
	@Autowired
	private  ProductSkuImgService imgService  ; 
	
	/**
	 * Description:根据skuId删除商品图册
	 * @param req
	 * @param resp
	 * @param skuId SKUID
	 * @author liushengchao
	 * @date  2017年8月31日下午2:39:54
	 */
	@RequestMapping(value="/delbyskuid")
	public void deleteBySkuId(HttpServletRequest req,HttpServletResponse resp,Long skuId){
		imgService.deleteBySkuId(skuId);
	}

}
